package com.zhuss.advice.db.dao.ext;

import com.zhuss.advice.db.dao.gen.ProposalSonMapper;
import com.zhuss.advice.db.entity.ProposalSon;
import com.zhuss.bean.bo.advice.proposalSon.SearchProposalSonBo;
import com.zhuss.bean.vo.advice.proposalSon.DetailProposalSonVo;
import com.zhuss.bean.vo.advice.proposalSon.ListProposalSonVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @Author: zhushanshuo
 * @Date: 2020/3/6 8:43
 */
@Mapper
public interface ProposalSonDao extends ProposalSonMapper{

    List<ListProposalSonVo> list(SearchProposalSonBo bo);

    Integer countList(SearchProposalSonBo bo);

    void create(ProposalSon bo);

    DetailProposalSonVo detail(@Param("proposalId") Long proposalId);
}
